package com.quan.aweb.entity;

import lombok.*;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Getter
@Setter
@Table(name = User.TABLE_NAME)
public class User {
    public static final String TABLE_NAME = "usera";

    @Id
    @Column(name = "rid")
    //@ApiModelProperty(value = "主键")
    private String rid;

    @Column(name = "name")
    String name;
}
